package com.dinkshow.dinkshow;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author  yvwc
 */
@RestController
@SpringBootApplication
//@MapperScan("com.dinkshow.dinkshow.user.*") @MapperScan("com.gitee.sunchenbin.mybatis.actable.dao.*")
//@ComponentScan("com.gitee.sunchenbin.mybatis.actable.manager.*")
@MapperScan("com.dinkshow.dinkshow.user.*")
public class DinkShowApplication {

    public static void main(String[] args) {
        SpringApplication.run(DinkShowApplication.class, args);
    }
    @RequestMapping
    public String hello() {
        return "hello spring boot!";
    }


}
